#include "UserInterface.h"
#include "Assert.h"

#include <sstream>
#include <iostream>
#include <locale>

ostream UserInterface::out(0);
istream UserInterface::in(0);

string UserInterface::promptUser(const string & message) {
	out << message;
	char input[INPUT_DATA_SIZE_MAX];
	in.getline(input, INPUT_DATA_SIZE_MAX);
	return string(input);
}

bool UserInterface::validName(const string & name) {
	if (name != "") {
		return true;
	}
	else {
		return false;
	}
}
